package com.gkd.service;

import com.gkd.mapper.DepartmentMapper;
import com.gkd.mapper.LoginUserMapper;
import com.gkd.pojo.LoginUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LoginUserServiceImpl implements LoginUserService{
    @Autowired
    LoginUserMapper loginUserMapper;

    @Override
    public List<LoginUser> queryAllLoginUser() {
        return loginUserMapper.queryLoginUser();
    }

    @Override
    public List<LoginUser> querlAllsameNameUser(String name) {
        return loginUserMapper.querySameNameLoginUser(name);
    }
}
